char a[43] = "...././.-../.-../---/.--/---/.-./.-../-../";
int ledPin = 4;
int dt = 100;
void setup() {
  pinMode(ledPin, OUTPUT);
}

void loop() {
  for(int i = 0; i < 42; i ++){
    if (a[i] == '.'){
      digitalWrite(ledPin, HIGH);
      delay(dt);
      digitalWrite(ledPin, LOW);
      delay(2 * dt);
    }else if (a[i] == '-'){
      digitalWrite(ledPin, HIGH);
      delay(2 * dt);
      digitalWrite(ledPin, LOW);
      delay(3 * dt);
    }else{
      delay(5 * dt);
    }
  }
}
